package monster.com.cvh.activity;

import android.content.Intent;
import android.graphics.Color;
import android.widget.ImageView;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.OnClick;
import monster.com.cvh.R;
import monster.com.cvh.activity.base.PermissionActivity;
import monster.com.cvh.util.StatusBarUtil;

/**
 * @author: monster
 * @data: 2018/3/20
 * @function: 反馈成功
 */
public class FeedBackSuccessActivity extends PermissionActivity {
    @BindView(R.id.iv_news_details_title_back)
    ImageView ivNewsDetailsTitleBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;

    @Override
    protected int getContentViewResId() {
        return R.layout.activity_feed_back_success;
    }

    @Override
    protected void initEvent() {
        tvTitle.setText("反馈成功");

    }

    @Override
    protected void initData() {
        //修改状态栏颜色
        StatusBarUtil.setStatusBarLightMode(FeedBackSuccessActivity.this, Color.WHITE);

    }

    /**
     * 后退
     */
    @OnClick(R.id.iv_news_details_title_back)
    public void onViewClicked() {
        startActivity(new Intent(FeedBackSuccessActivity.this,MainActivity.class));
        finish();
    }
}
